import request from '../request'

// 【userInfo】--获取列表
export function getTbUserList(params) { return request({ url: '/TbUser/getList', method: 'get', params }) }
// 【userInfo】--保存信息
export function saveTbUser(data) { return request({ url: '/TbUser/save', method: 'post', data }) }
// 【userInfo】--删除
export function deleteTbUser(data) { return request({ url: '/TbUser/delete' , method: 'post', data }) }

// 【考试科目】--获取列表
export function getSSubjectList(params) { return request({ url: '/SSubject/getList', method: 'get', params }) }
// 【考试科目】--保存信息
export function saveSSubject(data) { return request({ url: '/SSubject/save', method: 'post', data }) }
// 【考试科目】--删除
export function deleteSSubject(data) { return request({ url: '/SSubject/delete' , method: 'post', data }) }

// 【question】--获取列表
export function getSQuestionsList(params) { return request({ url: '/SQuestions/getList', method: 'get', params }) }

// 【question】--获取列表
export function getVQuestionsList(params) { return request({ url: '/VQuestionList/getList', method: 'post', params }) }
// 【question】--保存信息
export function saveSQuestions(data) { return request({ url: '/SQuestions/save', method: 'post', data }) }
// 【question】--保存信息
export function sQuestionsInfo(data) { return request({ url: '/SQuestions/info', method: 'post', data }) }
// 【question】--删除
export function deleteSQuestions(data) { return request({ url: '/SQuestions/delete' , method: 'post', data }) }

// 【exam】--获取列表
export function getSExamList(params) { return request({ url: '/SExam/getList', method: 'get', params }) }
// 【exam】--保存信息
export function saveSExam(data) { return request({ url: '/SExam/save', method: 'post', data }) }
// 【exam】--删除
export function deleteSExam(data) { return request({ url: '/SExam/delete' , method: 'post', data }) }

// 【examStrategy】--获取列表
export function getSExamPaperStrategyList(params) { return request({ url: '/SExamPaperStrategy/getList', method: 'get', params }) }
// 【examStrategy】--保存信息
export function saveSExamPaperStrategy(data) { return request({ url: '/SExamPaperStrategy/save', method: 'post', data }) }
// 【examStrategy】--删除
export function deleteSExamPaperStrategy(data) { return request({ url: '/SExamPaperStrategy/delete' , method: 'post', data }) }
export function calculateScoreExamPaperStrategy(data) { return request({ url: '/SExamPaperStrategy/calculateScore/' , method: 'post', data }) }

// 【questionBase】--获取列表
export function getSQuestionBaseList(params) { return request({ url: '/SQuestionBase/getList', method: 'get', params }) }
// 【questionBase】--保存信息
export function saveSQuestionBase(data) { return request({ url: '/SQuestionBase/save', method: 'post', data }) }
// 【questionBase】--删除
export function deleteSQuestionBase(data) { return request({ url: '/SQuestionBase/delete' , method: 'post', data }) }

// 【examStrategyDetail】--获取列表
export function getSExamPaperStrategyDetailList(params) { return request({ url: '/SExamPaperStrategyDetail/getList', method: 'get', params }) }
// 【examStrategyDetail】--保存信息
export function saveSExamPaperStrategyDetail(data) { return request({ url: '/SExamPaperStrategyDetail/save', method: 'post', data }) }
// 【examStrategyDetail】--删除
export function deleteSExamPaperStrategyDetail(data) { return request({ url: '/SExamPaperStrategyDetail/delete' , method: 'post', data }) }

// 【examSign】--获取列表
export function getSExamPaperMemberList(params) { return request({ url: '/VExamMemberList/getList', method: 'get', params }) }
// 【examSign】--保存信息
export function saveSExamPaperMember(data) { return request({ url: '/SExamPaperMember/save', method: 'post', data }) }

export function getVExamMemberList(params) { return request({ url: '/VExamMemberList/getList', method: 'post', params }) }
// 【examSign】--删除
export function deleteSExamPaperMember(data) { return request({ url: '/SExamPaperMember/delete' , method: 'post', data }) }

export function examFinishApi(data) { return request({ url: '/SExamPaperMember/examFinish' , method: 'post', data }) }

// 【examResult】--获取列表
export function getSMemberExamResultList(params) { return request({ url: '/SMemberExamResult/getList', method: 'get', params }) }
// 【examResult】--保存信息
export function saveSMemberExamResult(data) { return request({ url: '/SMemberExamResult/save', method: 'post', data }) }
// 【examResult】--删除
export function deleteSMemberExamResult(data) { return request({ url: '/SMemberExamResult/delete' , method: 'post', data }) }

// 【examMemberAnswer】--获取列表
export function getSMemberQuestionAnswerList(params) { return request({ url: '/SMemberQuestionAnswer/getList', method: 'get', params }) }

export function getExamResult(params) { return request({ url: '/SMemberQuestionAnswer/getExamResult', method: 'get', params }) }
// 【examMemberAnswer】--保存信息
export function saveSMemberQuestionAnswer(data) { return request({ url: '/SMemberQuestionAnswer/save', method: 'post', data }) }
// 【examMemberAnswer】--删除
export function deleteSMemberQuestionAnswer(data) { return request({ url: '/SMemberQuestionAnswer/delete' , method: 'post', data }) }

export function getCert(data) { return request({ url: '/SExam/getCert' , method: 'post', data }) }


export function getCourseCert(data) { return request({ url: '/SCourse/getCert' , method: 'post', data }) }

// 【examLot】--获取列表
export function getSExamLotList(params) { return request({ url: '/SExamLot/getList', method: 'get', params }) }
// 【examLot】--保存信息
export function saveSExamLot(data) { return request({ url: '/SExamLot/save', method: 'post', data }) }

export function checkExamSave(data) { return request({ url: '/SExamLot/checkExamSave', method: 'post', data }) }
// 【examLot】--删除
export function deleteSExamLot(data) { return request({ url: '/SExamLot/delete' , method: 'post', data }) }

// 【coupon】--获取列表
export function getSCouponsList(params) { return request({ url: '/SCoupons/getList', method: 'get', params }) }
// 【coupon】--保存信息
export function saveSCoupons(data) { return request({ url: '/SCoupons/save', method: 'post', data }) }

export function addSCouponsItem(data) { return request({ url: '/SCoupons/addItem', method: 'post', data }) }
// 【coupon】--删除
export function deleteSCoupons(data) { return request({ url: '/SCoupons/delete' , method: 'post', data }) }


export function getUserList(data) { return request({ url: '/SCourse/getUserOptions' , method: 'post', data }) }

export function getCourseList(data) { return request({ url: '/SCourse/getCourseOptions' , method: 'post', data }) }

export function getExamList(data) { return request({ url: '/SCourse/getQuestionsOptions' , method: 'post', data }) }

// 【course】--获取列表
export function getSCourseList(params) { return request({ url: '/SCourse/getList', method: 'get', params }) }
// 【course】--保存信息
export function saveSCourse(data) { return request({ url: '/SCourse/save', method: 'post', data }) }
// 【course】--删除
export function deleteSCourse(data) { return request({ url: '/SCourse/delete' , method: 'post', data }) }


// 【order】--获取列表
export function getSOrderList(params) { return request({ url: '/SOrder/getList', method: 'get', params }) }
// 【order】--保存信息
export function saveSOrder(data) { return request({ url: '/SOrder/save', method: 'post', data }) }
// 【order】--删除
export function deleteSOrder(data) { return request({ url: '/SOrder/delete' , method: 'post', data }) }

// 【teacher】--获取列表
export function getSCourseLecturerList(params) { return request({ url: '/SCourseLecturer/getList', method: 'get', params }) }
// 【teacher】--保存信息
export function saveSCourseLecturer(data) { return request({ url: '/SCourseLecturer/save', method: 'post', data }) }
// 【teacher】--删除
export function deleteSCourseLecturer(data) { return request({ url: '/SCourseLecturer/deleteList' , method: 'post', data }) }

// 【label】--获取列表
export function getSCourseLabelList(params) { return request({ url: '/SCourseLabel/getList', method: 'get', params }) }
// 【label】--保存信息
export function saveSCourseLabel(data) { return request({ url: '/SCourseLabel/save', method: 'post', data }) }

// 【label】--保存信息
export function getLabelOptions(data) { return request({ url: '/SCourseLabel/getOptions', method: 'post', data })  }

export function getTeacherOptions(data) { return request({ url: '/SCourseLecturer/lecturerOptions', method: 'post', data }) }

export function getTypeOptions(data) { return request({ url: '/SCourseType/typeOptions', method: 'post', data }) }

// 【label】--删除
export function deleteSCourseLabel(data) { return request({ url: '/SCourseLabel/delete' , method: 'post', data }) }

// 【type】--获取列表
export function getSCourseTypeList(params) { return request({ url: '/SCourseType/getList', method: 'get', params }) }
// 【type】--保存信息
export function saveSCourseType(data) { return request({ url: '/SCourseType/save', method: 'post', data }) }
// 【type】--删除
export function deleteSCourseType(data) { return request({ url: '/SCourseType/delete' , method: 'post', data }) }

// 【group】--获取列表
export function getSCourseGroupList(params) { return request({ url: '/SCourseGroup/getTreeList', method: 'get', params }) }
// 【group】--保存信息
export function saveSCourseGroup(data) { return request({ url: '/SCourseGroup/save', method: 'post', data }) }
// 【group】--删除
export function deleteSCourseGroup(data) { return request({ url: '/SCourseGroup/delete' , method: 'post', data }) }
export function getTeacherList(data) { return request({ url: '/SCourseLecturerBind/teacherList', method: 'post', data }) }

export function insertCourseTeacher(data) { return request({ url: '/SCourseLecturerBind/addTeacher', method: 'post', data }) }

export function deleteCourseTeacher(data) { return request({ url: '/SCourseLecturerBind/deleteTeacher', method: 'post', data }) }

// 【item】--获取列表
export function getSCourseItemList(params) { return request({ url: '/SCourseItem/getList', method: 'get', params }) }
// 【item】--保存信息
export function saveSCourseItem(data) { return request({ url: '/SCourseItem/save', method: 'post', data }) }
// 【item】--删除
export function deleteSCourseItem(data) { return request({ url: '/SCourseItem/delete' , method: 'post', data }) }

export function getVideoPath(data) { return request({ url: '/SCourseItem/getPath' , method: 'post', data }) }



// 【couponItem】--获取列表
export function getSCouponsItemList(params) { return request({ url: '/VCouponUser/getList', method: 'get', params }) }
// 【couponItem】--保存信息
export function saveSCouponsItem(data) { return request({ url: '/SCouponsItem/save', method: 'post', data }) }
// 【couponItem】--删除
export function deleteSCouponsItem(data) { return request({ url: '/SCouponsItem/delete' , method: 'post', data }) }

// 【student】--获取列表
export function getVCourseMemberList(params) { return request({ url: '/VCourseMember/getList', method: 'get', params }) }
// 【student】--保存信息
export function saveVCourseMember(data) { return request({ url: '/VCourseMember/save', method: 'post', data }) }
// 【student】--删除
export function deleteVCourseMember(data) { return request({ url: '/VCourseMember/delete' , method: 'post', data }) }

export function giveMemberCert(data) { return request({ url: '/VCourseMember/giveCert' , method: 'post', data }) }

// 【cermodel】--获取列表
export function getZCertificateModelList(params) { return request({ url: '/ZCertificateModel/getList', method: 'get', params }) }
// 【cermodel】--保存信息
export function saveZCertificateModel(data) { return request({ url: '/ZCertificateModel/save', method: 'post', data }) }


export function getZceritificateName(data) { return request({ url: '/ZCertificateModel/getCertificateList', method: 'post', data }) }
// 【cermodel】--删除
export function deleteZCertificateModel(data) { return request({ url: '/ZCertificateModel/deleteById' , method: 'post', data }) }


// 【plan】--获取列表
export function getSCoursePlanList(params) { return request({ url: '/SCoursePlan/getList', method: 'get', params }) }
// 【plan】--保存信息
export function saveSCoursePlan(data) { return request({ url: '/SCoursePlan/save', method: 'post', data }) }
// 【plan】--删除
export function deleteSCoursePlan(data) { return request({ url: '/SCoursePlan/delete' , method: 'post', data }) }


// 【dsaa】--获取列表
export function getZExamDiscountList(params) { return request({ url: '/ZExamDiscount/getList', method: 'get', params }) }
// 【dsaa】--保存信息
export function saveZExamDiscount(data) { return request({ url: '/ZExamDiscount/save', method: 'post', data }) }
// 【dsaa】--删除
export function deleteZExamDiscount(data) { return request({ url: '/ZExamDiscount/deleteList' , method: 'post', data }) }


// 【invoice】--获取列表
export function getCMemberInvoiceList(params) { return request({ url: '/CMemberInvoice/getList', method: 'get', params }) }
// 【invoice】--保存信息
export function saveCMemberInvoice(data) { return request({ url: '/CMemberInvoice/save', method: 'post', data }) }
// 【invoice】--删除
export function deleteCMemberInvoice(data) { return request({ url: '/CMemberInvoice/delete' , method: 'post', data }) }


export function passInvoice(data) { return request({ url: '/SOrder/invoicePass' , method: 'post', data }) }

// 【user_cert】--获取列表
export function getCUserCertList(params) { return request({ url: '/VUserCert/getList', method: 'get', params }) }
// 【user_cert】--保存信息
export function saveCUserCert(data) { return request({ url: '/CUserCert/save', method: 'post', data }) }

export function resultCUserCert(data) { return request({ url: '/CUserCert/userCertResult', method: 'post', data }) }
// 【user_cert】--删除
export function deleteCUserCert(data) { return request({ url: '/CUserCert/delete' , method: 'post', data }) }



export function getUserExamInfo(data) { return request({ url: '/CUserCert/userIdforVm' , method: 'post', data }) }


// 【c_certificate_user】--获取列表
export function getCCertificateUserList(params) { return request({ url: '/CCertificateUser/getList', method: 'get', params }) }
// 【c_certificate_user】--保存信息
export function saveCCertificateUser(data) { return request({ url: '/CCertificateUser/save', method: 'post', data }) }
// 【c_certificate_user】--删除
export function deleteCCertificateUser(data) { return request({ url: '/CCertificateUser/delete' , method: 'post', data }) }

// 【cm】--获取列表
export function getCCouponMemberList(params) { return request({ url: '/CCouponMember/getList', method: 'get', params }) }
// 【cm】--保存信息
export function saveCCouponMember(data) { return request({ url: '/CCouponMember/save', method: 'post', data }) }
// 【cm】--删除
export function deleteCCouponMember(data) { return request({ url: '/CCouponMember/delete' , method: 'post', data }) }

export function refuseCCouponMember(data) { return request({ url: '/CCouponMember/refuse' , method: 'post', data }) }



export function getCouponListForOptions(data) { return request({ url: '/CUserCoupon/getCouponList' , method: 'post', data }) }


// 【xxxx】--获取列表
export function getVExamMemberListList(data) { return request({ url: '/VExamMemberList/getList', method: 'post', data }) }
// 【xxxx】--保存信息
export function saveVExamMemberList(data) { return request({ url: '/VExamMemberList/save', method: 'post', data }) }
// 【xxxx】--删除
export function deleteVExamMemberList(data) { return request({ url: '/VExamMemberList/delete' , method: 'post', data }) }


export function refundMethod(data) { return request({ url :'/SOrder/refund' , method:'post' , data } ) }

// 【file】--获取列表
export function getZFileUploadList(params) { return request({ url: '/ZFileUpload/getList', method: 'get', params }) }
// 【file】--保存信息
export function saveZFileUpload(data) { return request({ url: '/ZFileUpload/save', method: 'post', data }) }
// 【file】--删除
export function deleteZFileUpload(data) { return request({ url: '/ZFileUpload/deleteById' , method: 'post', data }) }

// 【feeback】--获取列表
export function getZFeebackList(params) { return request({ url: '/ZFeeback/getList', method: 'get', params }) }
// 【feeback】--保存信息
export function saveZFeeback(data) { return request({ url: '/ZFeeback/save', method: 'post', data }) }
// 【feeback】--删除
export function deleteZFeeback(data) { return request({ url: '/ZFeeback/deleteById' , method: 'post', data }) }


export function uploadWithoutSeal(data) { return request({ url: '/CUserCert/uploadWithoutSeal' , method: 'post', data }) }

//批量无章证书发放
export function certNoSignet(data) { return request({ url: '/CUserCert/certNoSignet' , method: 'post', data }) }

export function downloadZip(data) { return request({ url: '/CUserCert/downloadZip' , method: 'post', data }) }


